
<!--{if !$post['first']}-->
    <!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
    <a name="pid$post[pid]" />
<div  id="post_$post[pid]" class="reply_post" >
	$post[newpostanchor] $post[lastpostanchor]
	<div class="author_a woo-fixwidth">
        <div class="avt ata notpad">
        	<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
                <!--{if $_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
                    {lang member_avatar_banned}
                <!--{elseif $post['avatar'] && $showavatars}-->
                <a href="home.php?mod=space&uid=$post['authorid']" c="1"><!--{avatar($post['authorid'],small)}--></a>
                <!--{/if}-->
            <!--{else}-->
            	<!--{avatar(0,small)}-->
            <!--{/if}-->

        </div>
        <div class="author_img">
            <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
            <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
            <!--{else}-->
            <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
            <!--{/if}-->
            <!--{if $post['authorid'] && !$post['anonymous']}-->
            <!--{if !$_G['setting']['authoronleft']}-->
            <a href="home.php?mod=space&uid=$post[authorid]" c="1" class="xi2">$post[author]</a>$authorverifys
            <!--{/if}-->
        </div>
        <!--{block authorverifys}-->
        <!--{if $_G['setting']['verify']['enabled']}-->
            <!--{loop $_G['setting']['verify'] $vid $verify}-->
                <!--{if $verify['available'] && $post['verify'.$vid] == 1}-->
                    <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $verify[icon]}--><img src="$verify[icon]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}--></a>&nbsp;
                <!--{/if}-->
            <!--{/loop}-->
        <!--{/if}-->
        <!--{/block}-->
    </div>
    <div class="cmp">
    	<div class="bt box-comment-new">
			<div class="top cl">
            	<p class="imgmui"><img src="{IMGDIR}/mui.gif" /></p>
                <div class="pti">
                    <div class="pdbt">
                        <!--{if !$post['first'] && $post['rewardfloor']}-->
                            <label class="pdbts pdbts_1">
                                <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
                                <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
                            </label>
                        <!--{/if}-->
                        <!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
                            <label class="pdbts pdbts_{echo intval($post[stand])}">
                                <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
                                    <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
                                    <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
                                <!--{if $post[stand]}-->
                                    <a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
                                <!--{/if}-->
                            </label>
                        <!--{/if}-->
                    </div>
                        <div class="clearfix">
                        	<div class="wo-box-le" style="float:left;" >
                        	
                            <span><a href="home.php?mod=space&uid=$post['authorid']" c="1" style="color:#00A0C6; font-weight:bold;">$post['username']&nbsp;</a></span>
                            <em id="authorposton$post[pid]" class="xg1_cl" style="margin-left:5px;">
                            	<img style="margin-right:2px; margin-top:3px;" src="{IMGDIR}/date.png" /> $post[dateline]
                            </em>
                            <!--{if $post['status'] & 8}-->
                                <span class="xg1 xg1_cl">
                                <!--{if $_G['setting']['mobile']['mobilecomefrom']}-->
                                {$_G['setting']['mobile']['mobilecomefrom']}
                                <!--{else}-->
                                {lang from_mobile}
                                <!--{/if}-->
                            </span>
                            <!--{/if}-->
                            <samp style="display:none">
                            <!--{if $post['invisible'] == 0}-->
                                <!--{if !IS_ROBOT && !$_G['gp_authorid'] && !$_G['forum_thread']['archiveid']}-->
                                <span class="pipe">|</span>
                                <a class="xg1_cl" href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">
                                    {lang thread_show_author} $post['username']
                                </a>
                                <!--{elseif !$_G['forum_thread']['archiveid']}-->
                                <span class="pipe">|</span>
                                <a class="xg1_cl" href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
                                <!--{/if}-->
                            <!--{/if}-->
                            </samp>
                            <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
                            $_G[setting][anonymoustext]&nbsp;
                            <em id="authorposton$post[pid]"  class="xg1_cl">{lang poston} $post[dateline]</em>
                            <!--{if $post['useip'] && $_G['group']['allowviewip']}-->&nbsp-&nbsp;IP:$post[useip]<!--{/if}-->
                            <!--{/if}-->
                        </div>
                        
                        
                        <!--{hook/viewthread_postheader $postcount}-->
                    </div>
                </div>
                <div style="padding:5px;"><!--width: 640px;-->
                 <!--{if !$post['first'] && $post['replycredit'] > 0}-->
                    <div class="cm">
                        <h3 class="psth xg1_cl">
                            {lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
                        </h3>
                    </div>
                <!--{/if}-->
                    <!--{subtemplate forum/viewthread_node_body_reply}-->
                </div>
                <div class="cl box_box_new_commont">
                    <div class="po xg1_cl z w-gtmoi">
                        <span class="pob cl bc-post">
                            <!--{if !$post['first'] && $modmenu['post']}-->
                                <span class="y ctdel">
                                <label for="manage$post[pid]">
                                <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
                                {lang manage}
                                </label>
                                </span>
                            <!--{/if}-->
                            <em class="ctdel" style="margin-left:0px !important;">
                                <!--{if $post['invisible'] == 0}-->
                                    <!--{if $allowpostreply}-->
                                        <!--{if $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}-->
                                        <a style="padding-left:0px !important;" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang reply}</a><!--{/if}-->
                                    <!--{/if}-->
                                <!--{/if}-->
                                <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && $post['authorid'] == $_G['uid'] && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
                                    <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_G[gp_modthreadkey])}&modthreadkey=$_G[gp_modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
                                <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid']}-->
                                    <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
                                <!--{/if}-->
                                <!--{if $post['invisible'] == -2 && !$post['first']}-->
                                    <span class="xg1">({lang moderate_need})</span>
                                <!--{/if}-->
                                <!--{hook/viewthread_postfooter $postcount}-->
                            </em>
                            <span class="ctdel">
                                <!--{if $post['invisible'] == 0}-->
                                    <!--{if $_G['setting']['magicstatus']}-->
                                        <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
                                    <!--{/if}-->
                    
                                    <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
                                        <a href="javascript:;" onclick="setanswer($post['pid'], '$_G[gp_from]')">{lang reward_set_bestanswer}</a>
                                    <!--{/if}-->
                    
                                    <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
                                        <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
                                    <!--{/if}-->
                    
                                    <!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
                                        <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
                                    <!--{/if}-->
                                    <!--{if $post['authorid'] != $_G['uid']}-->
                                        <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
                                    <!--{/if}-->
                                <!--{/if}-->
                            </span>
                    
                            <!--{if $_G['setting']['magicstatus']}-->
                                <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
                                <!--{if $post['first']}-->
                                    <!--{if !empty($_G['setting']['magics']['bump'])}-->
                                        <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['stick'])}-->
                                        <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['close'])}-->
                                        <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['open'])}-->
                                        <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['highlight'])}-->
                                        <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['sofa'])}-->
                                        <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
                                    <!--{/if}-->
                                    <!--{if !empty($_G['setting']['magics']['jack'])}-->
                                        <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
                                    <!--{/if}-->
                                    <!--{hook/viewthread_magic_thread}-->
                                <!--{/if}-->
                                <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
                                    <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
                                <!--{/if}-->
                                <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
                                    <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
                                <!--{/if}-->
                                <!--{if !empty($_G['setting']['magics']['namepost'])}-->
                                    <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
                                <!--{/if}-->
                                <!--{hook/viewthread_magic_post $postcount}-->
                                </ul>
                                <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
                            <!--{/if}-->
                        
                            <!--{if !IS_ROBOT}-->
                            <!--{if $post['warned']}-->
                                <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
                            <!--{/if}-->
                            <em class="idpost xg1_cl">
                                <a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" title="{lang share_url_copy_comment}" id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;"><em>Copy URL</em></a>
                            </em>
                            <!--{/if}-->
                        </span>
        
                    </div>                        
				</div>        
                
                
                
                
        	</div>        
        </div>      
        <!--{if !empty($aimgs[$post[pid]])}-->
        <script type="text/javascript" reload="1">
            aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
            attachimggroup($post['pid']);
            <!--{if empty($_G['setting']['lazyload'])}-->
                <!--{if !$post['imagelistthumb']}-->
                    attachimgshow($post[pid]);
                <!--{else}-->
                    attachimgshow($post[pid], 1);
                <!--{/if}-->
            <!--{/if}-->
            <!--{if $post['imagelistthumb']}-->
                attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->);
            <!--{/if}-->
        </script>
        <!--{/if}-->
        <!--{hook/viewthread_endline $postcount}-->
	</div>   
   	<div style="clear:both; height:5px"></div>     
</div>

<!--{else}-->
<!--{subtemplate forum/viewthread_node}-->
<!--{/if}-->